Part Number Hot Search : 
T421004 74F02SC Q2222 10TPB33M P2510N MB252 P2022 0512S
Product Description
Full Text Search
 

To Download AN-1039 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  AN-1039 application note one technology way ? p. o. box 9106 ? norwood, ma 02062-9106, u.s.a. ? tel: 781.329.4700 ? fax: 781.461.3113 ? www.analog.com correcting imperfections in iq modula tors to improve rf signal fidelity by eamon nash rev. 0 | page 1 of 8 introduction the in-phase and quadrature modulator (iq modulator) is a key component in modern wireless transmitters. it provides a convenient method for modulating data bits or symbols onto an rf carrier. iq upconversion has become the architecture of choice for implementing transmitter signal chains for end applications such as cellular, wimax, and wireless point-to- point. iq modulators, however, can degrade signal fidelity in ways that are somewhat unique. these effects can degrade the quality of the transmitted signal during the modulation process, resulting in degraded error vector magnitude (evm) at the receiver, which in turn degrades bit error rate (ber). fortu- nately, algorithms exist that can correct these imperfections. this application note describes a typical zero-if or direct- conversion transmitter and provides a brief introduction to digital modulation. other items discussed are: the imper- fections introduced by the modulator are examined with particular focus on the effect of temperature and frequency changes, in-factory and in-field algorithms that can reduce the effect of these modulator imperfections is also discussed, and particular focus is placed on the efficacy of in-factory set-and- forget algorithms. a typical wireless transmitter figure 1 shows a block diagram of a direct-conversion wireless transmitter that uses an iq modulator to modulate a bit stream onto a carrier. a single bit stream is split into two parallel bit streams at half the original data rate. to limit the spectral band- width of the final carrier, the two bit streams are low-pass filtered in the digital domain. to do this, the original bit-streams must be digitally oversampled by the digital signal processor or field programmable gate array (fpga). so, instead of two bit streams, there are now two streams of digital words. the chosen resolu- tion of these words depends upon multiple factors such as the required signal-to-noise ratio of the link and the chosen mod- ulation scheme (qpsk in this case). word widths between 12 and 16 bits are commonly chosen. ad8363 50db rms detector spectrum analyzer ad8352 fpga or dsp digital demod 1.5 1.0 2.0 time (msec) ?600 ?400 ?200 0 200 400 600 ?800 800 iiout3 (mv) ?600 ?400 ?200 0 200 400 600 ?800 800 iiout3 (mv) ?600 ?400 ?200 0 200 400 600 ?800 800 iiout1 (mv) ?600 ?400 ?200 0 200 400 600 ?800 800 qqout1 (mv) 1.5 1.0 2.0 time (msec) ?600 ?400 ?200 200 0 400 600 ?800 800 dataout(mv) 1.829 1.329 2.329 tim e (msec) bit de-interlever oversample low-pass filter oversample low-pass filter ad9230 hpa adl5320 50? 50? 0 90 100? 100? low- pass filter low- pass filter gain dac 1 aux dac1 16-bit i dac phase adjust ad9788 adl5375 aux dac2 gain dac 2 16-bit q dac phase adjust i q digital filter digital filter 08383-001 figure 1. a zero if direct-conversion transmitter with optional loop-back receiver
AN-1039 application note rev. 0 | page 2 of 8 table of contents introduction ...................................................................................... 1 a typical wireless transmitter ...................................................... 1 modulator imperfections ............................................................ 3 correcting modulator imperfections ........................................ 4 factory calibration ...................................................................... 4 calibration procedure .................................................................. 6 correcting for quadrature and i/q gain errors ......................6 frequency variations ....................................................................7 post calibration temperature drift ............................................7 calibration vs. time ......................................................................7 complex modulation ....................................................................8 conclusions ....................................................................................8
application note AN-1039 rev. 0 | page 3 of 8 after low-pass filtering, the two word streams are applied to a pair of digital-to-analog converters (dac). the dac outputs drive two low-pass filters whose primary role is to remove nyquist images. the outputs of these filters then drive the baseband inputs of the iq modulator. the local oscillator (lo) input of the modulator is driven by a relatively pure cw signal generated by a phase-locked loop (pll) such as the adf4106 from analog devices, inc. now, take a closer look at the operation of the iq modulator. the lo signal is split into two signals, equal in amplitude but with a phase difference of exactly 90. these two quadrature signals drive the inputs of the two mixers that, for the purposes of this application note, are viewed as analog multipliers. the outputs of these two multipliers are added together (in the block of the iq modulator) to provide the iq modulators output. while it is apparent that the baseband data streams have been filtered, instead briefly consider them as the original bit streams. instead of a stream of 1s and 0s, think of them as two streams switching between a value of +1 and C1. so, the output of the i multiplier consists of a vector which is flipping in-phase between 0 and 180as the bit stream alternates. likewise, the output of the q multiplier is a vector that flips between +90 and C90 as the bit stream modulates the original 90 vector. thus, if at a particular instant, both the i and q bit streams are equal to +1, the result at the output of the iq modulator is the sum of the 90 and 0 vectors, that is, a +45 vector. likewise, i and q bit combinations of ?1/+1, ?1/?1, and +1/?1 produce vectors (commonly called symbols) all of equal amplitude at +135, ?135, and ?45, respectively. if these vectors were plotted, observe the constellation of the modulated carrier (see figure 2 a). (a) (b) (c) (d) (e) (f) 0 8383-002 figure 2. error vector magnitude constellations that result from various modulator imperfections modulator imperfections contrary to the previous hypothetical situation, in a real iq modulator, things do not look so perfect. a series of effects in the iq modulator conspire to create qpsk (or qam) vectors that are neither equal in amplitude nor separated by exactly 45. consider first what happens if for some reason the gain of the i path is greater than that of the q channel; this could be caused by a dac gain mismatch, low-pass filter insertion loss, mismatch, or gain imbalance inside the iq modulator. regardless of where this gain imbalance comes from, its effect is the same. because the 0/180 vectors at the output of the i multiplier are larger than the +90/?90 vectors from the q multiplier, the shape of the constellation becomes rectangular (see figure 2 b). this degrades signal integrity at the receiver because the receiver is expecting a perfectly square constellation. in the qpsk example shown in figure 2 b, a slight gain imbalance is unlikely to result in an incorrect bit decision in the receiver unless the received signal is very small. however, in higher order modulation schemes such as 16 qam or 64 qam (see figure 2 e and figure 2 f), the increased density of the constellation points could easily combine with an iq gain imbalance to produce an incorrect symbol decision in the receiver. in most iq modulators, the 90 phase split of the lo is achieved using either a polyphase filter or a divide-by-two flip-flop circuit (which requires an external lo that is twice the desired output frequency). in either circuit, the 90 phase split or quadrature is never perfect. for example, if there is a 1 quadrature error, the shape of the resulting constellation is slightly trapezoidal (see figure 2 c). just like iq gain imbalance, this can result in incorrect bit decisions in the receiver. now consider what happens if either the i or q paths have unwanted dc offset errors. this results in the +1/?1 multipli- cation being skewed. for example, an offset that is equal to 1% of the baseband signal amplitude causes the +1/?1 multipliers to be modified to +1.01/?0.99. this has the effect of shifting the center of the constellation off the origin, on either the i or q axis, most likely in both (see figure 2 d ). in the frequency domain, this manifests itself as a small portion of the unmodu- lated carrier appearing at the output of the modulator. in the frequency domain, this lo leakage (also referred to as lo feedthrough) appears at the center of the modulated spectrum. because of parasitic capacitances within the silicon die and bond-wire to bond-wire coupling, the signal that is applied to the lo port of the iq modulator may also couple directly to the rf output. this leakage is independent of the offset multiplication effect that was described previously. however, its manifestation, that is, the presence of the unmodulated carrier in the output spectrum, is exactly the same. thus, the net lo leakage seen at the output of the iq modulator is the vector sum of these two components. fortunately, as discussed in the correcting modulator imperfections section, the com- posite lo leakage at the output can be mitigated by a single compensation technique.
AN-1039 application note rev. 0 | page 4 of 8 table 1. iq modulator selection table showing uncompensated gain and phase imbalance part number frequency (mhz) iq 3db bandwidth (mhz) carrier suppress (dbm) sideband suppression (dbc) gain imbalance (db) phase imbalance () noise floor (dbm/hz) p1db (dbm) output ip3 (dbm) supply voltage (v) supply current (ma) specs @ (mhz) ad8345 ad8346 ad8349 adl5370 adl5371 adl5372 adl5373 adl5374 adl5375 adl5385 adl5386 adl5590 adl5591 140 to 1000 800 to 2500 700 to 2700 300 to 1000 500 to 1500 1500 to 2500 2300 to 3000 3000 to 4000 400 to 6000 50 to 2200 50 to 2200 869 to 960 1805 to 1990 80 70 160 500 500 500 500 500 750 700 700 250 250 ?42 ?42 ?45 ?50 ?50 ?45 ?32 ?33 ?46 ?46 ?38 ?44 ?39 ?42 ?36 ?35 ?41 ?55 ?45 ?57 ?50 ?52 ?50 ?46 ?50 ?48 0.200 0.200 0.100 0.030 0.100 0.090 0.010 0.015 ?0.050 ?0.030 0.050 0.050 0.050 0.50 1.00 1.90 0.76 ?0.03 0.21 0.10 0.25 ?0.29 ?0.39 ?0.50 0.20 0.30 ?155.0 ?147.0 ?155.0 ?160.0 ?158.6 ?158.0 ?157.0 ?160.0 ?160.0 ?159.0 ?160.0 ?157.0 ?157.0 2.5 ?3.0 7.6 11.0 14.4 14.2 13.8 12.0 9.4 11.0 11.1 16.0 16.0 n/a n/a 21.0 24.0 27.0 27.0 26.0 22.8 27.0 26.0 25.0 29.0 30.0 2.70 to 5.50 2.70 to 5.50 4.75 to 5.50 4.75 to 5.25 4.75 to 5.25 4.75 to 5.25 4.75 to 5.25 4.75 to 5.25 4.75 to 5.25 4.75 to 5.50 4.75 to 5.50 4.75 to 5.50 4.75 to 5.50 65 45 135 205 175 165 174 173 200 215 230 170 170 800 1900 900 450 900 1900 2500 3500 900 350 350 940 1960 08383-009 correcting modulato r imperfections note that in figure 1 , in addition to the direct conversion signal chain, an optional loop-back or transmit observation receiver has also been incorporated into the radio. the primary function of this receiver is to analyze the adjacent channel power ratio (acpr) of the transmitter that is primarily caused by distortion in the high power amplifier (hpa). by continually observing the acpr of the transmitter, digital predistortion of the baseband signal can be employed to partially correct hpa nonlinearities while allowing the hpa to operate closer to its compression point. the presence of a loop-back receiver can be opportunistically used to also correct for modulator imperfections. a detailed discussion of the iq modulator correction tech- niques used when a loop-back receiver is present is beyond the scope of this application note. however, the general procedure involves using the loop-back receiver to demodulate the i and q bit streams. the demodulated constellation is then examined for evidence of iq gain imbalance, imperfect quadrature, and/ or lo leakage. once these imperfections have been identified, the i and q data streams can be preprocessed so that the iq modulator imperfections cancel out. for example, if the demodulated constellation from the loop-back receiver shows a rectangular constellation with the width of i being larger than the height of q (see figure 2 b), gain adjust registers in the dac can be used to either decrease the size of the i data stream or increase the size of the q data stream. likewise, the phase adjustment registers of the dac can be used to slightly skew the i and q channels so that the imperfect quadrature of the iq modulators phase splitter is compensated. factory calibration if a wireless transmitter does not use digital predistortion, it would be difficult to justify the cost of a loop-back receiver purely for the sake of the iq modulator. in such situations, the two options that remain are: ? do not perform any correction of the iq modulators imperfections. ? complete a one-time factory calibration and store the correction coefficients in nonvolatile memory. in recent years, the performance of iq modulators has improved to such a degree that it is now feasible (depending on the modulation scheme) to design a transmitter without any need to provide correction for imperfections. for example, the adl5375 from analog devices has gain and quadrature imbal- ances of 0.05 db and 0.29, respectively, at 900 mhz, with little or no degradation over temperature. as a result, in many appli- cations, it may be adequate to dispense with any correction algorithms. table 1 shows the performance of this and other members of the analog devices iq modulator family.
application note AN-1039 rev. 0 | page 5 of 8 the second alternative presented previously is to perform factory calibration. to do this, the popular single sideband spectrum can be used as a simple but valuable diagnosis tool during factory calibration. to create a single sideband spectrum, the i and q inputs are driven by low frequency (typically 1 mhz) sine and cosine signals, that is, the base- band signals are in quadrature. figure 3 shows the spectrum that results when these baseband signals are mixed with the lo. the primary components of the single sideband spectrum are: ? lower sideband: if the iq modulator has no imperfections, this is the only spectral component observed, the result of multiplication and summing of the baseband sine and cosine signals with the two in-quadrature lo signals. ? undesired upper sideband: this undesired component results from gain and phase imbalances between the i and q signal paths along with lo quadrature imbalance. ? undesired lo leakage: as discussed earlier, the lo leakage results from i and q offsets and/or parasitic leakage of the lo directly to the iq modulators output. 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 ?80 ?90 center 899.9334mhz 333khz/ span 3.33mhz power (dbm) 08383-003 figure 3. single sideband spectrum figure 4 shows a plot that can be used to relate sideband suppression to i/q gain mismatch and quadrature mismatch. from the plot, it can be noted that a quadrature phase error of 1, coupled with an i/q gain mismatch of 0.5 db, results in ?30 db of sideband suppression. it is notable in this example that improving the quadrature phase mismatch has no effect on the sideband suppression unless the gain mismatch is also improved. 0db 0.0125db 0.025db 0.05db 0.125db 0.25db 0.5db 1.25db 2.5db 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 ?80 ?90 0.01 0.1 1 10 100 sideband suppression (dbc) phase error (degrees) 08383-004 figure 4. plot showing the relationship between modulator errors and sideband suppression by using a directional coupler and a power splitter (as shown in figure 1 ), it is quite simple to add an auxiliary output to the transmitter that can be used during factory calibration. a spectrum analyzer is connected to this port. another alternative would be to connect the spectrum analyzer at the antenna connector (after the signal has been adequately attenuated).
AN-1039 application note rev. 0 | page 6 of 8 calibration procedure correcting all of the modulators imperfections is a multistep process. start by looking at the procedure for lo leakage cor- rection which results in a constellation that is offset from the origin. a single sideband spectrum is applied to the transmitter and is monitored on the spectrum analyzer. next, small diffe- rential offset voltages are applied to the i and q inputs. applying differential offset voltages to the i and q inputs should not be confused with changing the dc bias levels (also referred to as the common-mode level) on these pins, which has no effect. this is done as an i offset sweep followed by a q offset sweep (or vice versa). returning briefly to figure 1 , note that the ad9788 (a 16-bit, 800 msps dual dac) conveniently includes two aux- iliary dacs that can be used to couple differential dc offset voltages on i and q lines. this coupling is performed externally using resistor dividers. figure 5 shows how sweeping the i and q offset voltages alters the lo leakage. start by sweeping the i offset voltage around 0 v while holding the q offset voltage at 0 v. with modern iq modulators exhibiting unadjusted lo leakage in the ?40 dbm range and having voltage gains in the ?5 db to +5 db range, an offset voltage sweep range of 5 mv is more than adequate to identify the location of the null (in this example, 2 mv is adequate to identify a nulling voltage somewhere between 100 v and 200 v). note, however, that the first pass (black trace) only manages to reduce the lo leakage to just under ?40 dbm. this clearly indicates that the q offset needs correction. the second pass (blue trace) involves sweeping the q offset around 0 v with the i offset held at the value that yielded the first i null. note that a q offset of 400 v reduces the lo leakage a further 10 db to around ?50 dbm. however, a third pass is required. the trough from the first pass is quite shallow because the q channel had not yet been adjusted. this makes it difficult to identify the ideal i nulling voltage. a third pass (red trace) that involves again sweeping the i offset while holding the q offset at 400 v, identifies the optimum i nulling voltage to be 150 v. ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 ?2 ?1 0 1 2 i and q differential offset voltages (mv) lo leakage (dbm) first pass ? i offset adjust second pass ? q offset adjust third pass ? i offset adjust 08383-005 figure 5. multipass lo leakage compensation sweeps correcting for quadrature and i/q gain errors a similar procedure can be used to correct quadrature and i/q gain mismatch. iq modulator family data sheets typically specify the quadrature phase mismatch and i/q gain imbalance in degrees and decibels, respectively, along with the sideband suppression (also in decibels). using this information, it is advisable to perform the first optimization pass on the weaker of the two specifications, that is, the specification which most contributes to the sideband suppression. for example, assume that the device data sheet specifies a sideband suppression of ?40 dbc, comprising of 1 degree of phase imbalance and 0.1 db of gain imbalance amplitude. in this case, it is advisable to first try to adjust phase because making a gain adjustment has almost no effect as long as the 1 degree of phase error is present (see figure 4 ). figure 6 shows the results of a gain sweep followed by a phase sweep. in the first pass, the gain delta between i and q is adjusted over a range of approximately 2 db. the txdac? in figure 1 facilitates this adjustment by providing internal gain adjust auxiliary dacs. the sweep yields a null of around ?57 dbc for a gain difference of approximately ?0.1 db (gain is scaled on the top axis). next, adjust the skew between i and q. this drives the null down further to ?60 dbc for a phase adjust of ?0.05. ?70 ?60 ?50 ?40 ?30 ?20 ?10 ?0.4 ?0.3 ?0.2 ?0.1 0 0.1 0.2 0.3 0.4 phase adjust (degrees) sideband suppression (dbc) ?2 ?1 0 1 2 gain adjust (db) second pass (phase adjust) first pass (gain adjust) 08383-006 figure 6. multipass sideband suppression compensation sweeps in this case, a third pass is not necessary and does not yield further improvement. this stems from the fact that the unadjusted phase error is very close to the optimized value (~0.05). thus, the first-pass gain adjust yields a deep trough that is only slightly improved during the phase sweep. this contrasts to the lo leakage nulling where a third pass yielded further improvement.
application note AN-1039 rev. 0 | page 7 of 8 once the lo leakage and quadrature error have been calibrated, all that remains is for the calibration coefficients to be stored in nonvolatile ram so that they are available when the equipment is turned on in the field. to recap, the four calibration coefficients are ? i channel offset voltage ? q channel offset voltage ? i channel vs. q channel gain imbalance ? quadrature phase imbalance frequency variations calibrating at multiple frequencies within a band adds time to the factory calibration, requires more nonvolatile memory for the larger look up table, and is more cumbersome during field operation as calibration coefficients have to be swapped out as the frequency changes. now, consider what happens to the quality of calibration as the frequency changes. in figure 7 , sideband suppression and lo leakage have been nulled to ?60 dbc and ?74 dbm, respectively, at 1900 mhz. figure 7 also shows how the uncompensated sideband suppression and lo leakage vary with frequency (the flatter green and red traces a the top of the plot). next, adjust the frequency over a range of 30 mhz (the typical width of a cellular telephony band) without recalibration. the lo leakage quickly loses its null and at some frequencies is only around 8 db better than the uncompensated value. in the case of the sideband suppression, the difference between the compensated and uncompensated values becomes as low as around 1 db. figure 7 suggests that factory calibration be performed at multiple frequencies within a band to maintain nulled performance across the band. ?80 ?75 ?70 ?65 ?60 ?55 ?50 ?45 ?40 ?35 ? 30 1870 1880 1890 1900 1910 1920 1930 output frequency (mhz) carrier feedthrough (dbm) sideband suppression (dbc) unadjusted sideband suppression (dbc) unadjusted lo leakage (dbm) post (midband) nulling sideband suppression (dbc) post (midband) nulling lo leakage (dbm) 08383-007 figure 7. variation of lo leakage and sideband suppression vs. frequency after nulling midband post calibration temperature drift factory calibration at multiple temperatures is even more difficult and expensive than calibration at multiple frequencies. as a result, it is generally only practical to perform factory adjustment of lo leakage and sideband suppression at an ambient temperature. thus, what happens to post-calibration performance as temperature varies? in figure 8 , the lo leakage and sideband suppression have again been nulled midband. after nulling, the device is cycled over temperature. this again has the effect of moving sideband suppression and lo leakage off their nulled levels. however, notice that the performance at temperature is quite flat across frequency and it is no longer clear at which frequency the nulling was performed. the net improvement over temperature is approximately 15 db compared to the unadjusted lo leakage. calibration vs. time in the set-and-forget factory calibration scheme that has just been described, the question of long-term drift arises because the equipment may never be recalibrated in the field. experi- ments have shown that it is very difficult, if not impossible, to measure the degradation of nulled sideband suppression and lo leakage over time. very mild changes in environmental conditions tend to quickly move the device off its null. this makes it impossible to determine whether the environment and the test equipment are altering the experiment or if genuine device drift over time is taking place. however, figure 8 shows that the question of drift over time is less important. this is because the effect of temperature drift is much more significant. thus, in a system that experiences reasonable temperature fluctuations, whatever drift over time takes place is completely masked by the temperature drift. ?80 ?75 ?70 ?65 ?60 ?55 ?50 ?45 ?40 ?35 ? 30 1802 1812 1822 1832 1852 1872 1 8 4 21 8 6 21 8 lo frequency (mhz) carrier feedthrough (dbm) 8 2 +25c unadjusted +25c nulled +85c unadjusted +85c nulled ?40c unadjusted ?40c nulled 08383-008 figure 8. variation of lo leakage vs. frequency and temperature after nulling midband
AN-1039 application note rev. 0 | page 8 of 8 complex modulation conclusions while a detailed discussion is beyond the scope of this article, it is worth mentioning that all of the issues associated with modulator imperfections can be avoided with a slightly differ- ent transmit architecture. many modern dacs incorporate complex modulators, that is, digital engines that convert baseband i and q data up to a low intermediate frequency (if). these signals, which are still in cartesian i and q format, drive the iq modulator. because modern iq modulators, such as the adl5375 , have baseband input bandwidths of as high as 750 mhz, low ifs in the 100 mhz to 250 mhz range can be easily accommodated. when an iq modulator is driven by such a signal, the output spectrum is essentially a single sideband spectrum similar to what is shown in figure 3 . while modern iq modulators offer excellent out-of-the-box quadrature accuracy, iq gain imbalance, and lo leakage, their performance can be improved further using calibration. if the transmitter incorporates a loop-back receiver as part of a digital predistortion scheme, the receiver can also be used to conti- nuously monitor and correct the imperfections of the iq modulator. the post-calibration performance is only limited by the available compensation step sizes and the ability of the receiver to precisely measure the constellation degradation. in transmitters that do not contain a loop-back receiver, factory calibration is a reasonable alternative. a single calibration in the middle of a operating band most likely causes degradation at the band edges. as a result, calibration at multiple frequencies within a band is more effective. when temperature drift is factored in, factory calibration at the ambient temperature typically improves lo leakage and sideband suppression by around 10 db to 15 db. the lower sideband becomes the modulated carrier and is displaced from the lo by a frequency offset equal to the intermediate frequency. the imperfections of the iq modulator now manifest themselves as out-of-band effects, which can be filtered away, resulting in in-band evm, which is not affected by the iq modulators imperfections. however, this approach comes at some cost. care must be taken to filter out the lo leakage along with the undesired upper sideband. in contrast, a nyquist filtered zero if spectrum is completely free of spurious components apart from harmonics of the lo. in addition, as the frequency of the low if increases, the distortion of the dac and iq modulator increases slightly. ?2009 analog devices, inc. all rights reserved. trademarks and registered trademarks are the prop erty of their respective owners. an08383-0-10/09(0)


▲Up To Search▲   

 
Price & Availability of AN-1039

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X